#!/bin/bash

path=`cd "$( dirname ${BASH_SOURCE[0]} )" && pwd`
config=$path/config
bin=$path/bin
yunzai=`cat $config/yunzai.txt`
platform=`arch` #获取平台信息

cd $path

echo "开始安装ubuntu依赖"
source $bin/rely.sh $config/rely.txt

echo "开始拉取资源"
source git_yunzai.sh

echo "检测环境是否能执行yunzai"
source env_check.sh

echo "开始为插件安装依赖"
source install_rely.sh


echo "开始为部分插件安装资源文件"
source install_source.sh
